import request from '../utils/request'

// 创建个人文件夹

export function createFloder(args) {
  const { floderName, imagePath, childrens, setTime, floderPath, username } = args

  return request({
    url: '/personal/create',
    method: 'post',
    data: {
      floderName,
      imagePath,
      childrens,
      setTime,
      floderPath,
      username
    }
  })
}

// 获取所有组信息
export function getList(username) {
  return request({
    url: '/personal/getList',
    method: 'post',
    data: {
      username
    }
  })
}
